﻿using System;
using System.Configuration;
using System.Collections.ObjectModel;

namespace SBPweb.Forge.Logger.Configuration
{

    public class ListenerElement : ConfigurationElement
    {

        [ConfigurationProperty("name", IsRequired = true)]
        public string Name
        {
            get
            {
                return (string)this["name"];
            }
            set
            {
                this["name"] = value;
            }
        }

        [ConfigurationProperty("writer", IsRequired = true)]
        public WriterElement Writer
        {
            get
            {
                return (WriterElement)this["writer"];
            }
            set
            {
                this["writer"] = value;
            }
        }
    }

}